/*
 * @Description:
 * @Author: zheng yiliang
 * @Date: 2021-04-23 20:06:40
 * @LastEditTime: 2021-04-23 20:24:12
 * @LastEditors: zheng yiliang
 */

import dayjs from 'dayjs'
import Vue from 'vue'
export function formatDate (date, value = "YYYY-MM-DD HH:mm:ss") {
  return dayjs(date).format(value)
};


Vue.filter('formatDate', formatDate)
